package xcu.lxj.wxlogin.constant;

/**
 * @Author XinJian Lei
 * @Date 2024/11/24 10:17
 * @Version 1.0
 */
public interface UrlConstant {

       /**
        * 获取code 的基础url
        */
       String GET_CODE_URL =
               "https://open.weixin.qq.com/connect/oauth2/authorize?appid=APPID&redirect_uri=REDIRECT_URI&response_type=code&scope=SCOPE&state=STATE#wechat_redirect";

       /**
        * 获取 ACCESS_TOKEN 的基础url
        */
       String GET_ACCESS_TOKEN_URL=
               "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";


       /**
        * 获取 GET_USERINFO 的基础url
        */
       String GET_USERINFO =
               "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";
}
